Ext.define("admin.view.accessControl.accessControlMainView", {
    extend: 'Ext.panel.Panel',
    layout: 'border',
    alias: 'widget.accessControl.accessControlMainView',
    items: [{
        region: 'west',
        width: 300,
        border: false,
        split: true,
        title: '权限组列表',
        iconCls: 'link_16',
        xtype: 'accessControl.privilegeListGridView'
    }, {
        region: 'center',
        xtype: 'tabpanel',
        fit:true,
        items:[{
            title:'设备分配',
            layout: {
                type: 'hbox',
                align: 'stretch'
            },
            items:[{
                xtype:'accessControl.deviceGroupChildrenTreeView',
                store:'dispatcherDeviceGroupChildrenTreeStore',
                alias:'unDispatcherDevice',
                flex: 1
            },{
                xtype:'accessControl.deviceGroupChildrenTreeView',
                store:'unDispatcherDeviceGroupChildrenTreeStore',
                alias:'dispatcherDevice',
                flex: 1
            }]
        },{
            title:'卡片分配'
        }]
    }]
});
